home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: undergrad.math.uwaterloo.ca!sckettle
- From: sckettle@undergrad.math.uwaterloo.ca (Steve Kettle)
- Subject: Re: static initialization order
- Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
- Message-ID: <Dpq98A.7tp@undergrad.math.uwaterloo.ca>
- Date: Fri, 12 Apr 1996 02:21:46 GMT
- References: <Dppwqz.Kt3@undergrad.math.uwaterloo.ca>
- Nntp-Posting-Host: noether.math.uwaterloo.ca
- Organization: University of Waterloo
-
- In article <Dppwqz.Kt3@undergrad.math.uwaterloo.ca>,
- Steve Kettle <sckettle@undergrad.math.uwaterloo.ca> wrote:
- >suppose you have n static objects that depend on each other. if the dependancy
- >graph is a forest ( a bunch of trees ) ( a tree is a graph with no cycles ) how
- >does one guarantee the correct order of construction? The objects in question
- >could be local to a number of different translation units.
- >
- >that is my first question, second is i've been told that static data is often
- >located in memory addresses beyond the start of the heap. does this at all
- >contradict the fact that static data is initialzed to 0's at compile time?
- >
- >
- >--
-
-
- --
-